import { Global, Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { District } from 'src/entities/District';
import { DistrictModelService } from './district-model.service';

@Global()
@Module({
  imports : [TypeOrmModule.forFeature([District])],
  providers: [DistrictModelService],
  exports : [DistrictModelService]
})
export class DistrictModelModule {}
